﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;

namespace InformationSystem.Utility
{
    public class TableScheme
    {
        public TableScheme()
        {
            this.FieldList = new List<ExcelFieldInfo>();
        }
        public string TableName { get; set; }
        public List<ExcelFieldInfo> FieldList { get; private set; }
    }

    public class ExcelFieldInfo
    {
        public ExcelFieldInfo(string fieldName, OleDbType fieldType)
        {
            this.FiledName = fieldName;
            this.FiledType = FiledType;
        }
        public string FiledName { get; set; }
        public OleDbType FiledType { get; set; }
    }


}
